package com.jt.sp01.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class Item {
    private Integer id;
    private String name;
    private Integer number;

    public Item() {
        System.out.println(1);
    }

    public Item(Integer id, String name, Integer number) {
        this.id = id;
        this.name = name;
        this.number = number;
    }
}
